package com.example.houduan.controller;

import com.example.houduan.service.BlService;
import com.example.houduan.service.ChunaiService;
import com.example.houduan.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ChunaiController {
    @Autowired
    private ChunaiService ChunaiService;
    @RequestMapping("/getChunai")
    public Result getBl()
    {

        return Result.success(ChunaiService.getList());
    }
}
